package com.css.zfzx.sjcj.modules.hddcGeophySvyFaultPoint.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.sjcj.modules.hddcGeophySvyFaultPoint.repository.entity.HddcGeophysvyfaultpointEntity;
import com.css.zfzx.sjcj.modules.hddcGeophySvyFaultPoint.viewobjects.HddcGeophysvyfaultpointQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author zhangcong
 * @date 2020-11-30
 */

public interface HddcGeophysvyfaultpointService {

    public JSONObject queryHddcGeophysvyfaultpoints(HddcGeophysvyfaultpointQueryParams queryParams, int curPage, int pageSize,String sort,String order);

    public HddcGeophysvyfaultpointEntity getHddcGeophysvyfaultpoint(String id);

    public HddcGeophysvyfaultpointEntity saveHddcGeophysvyfaultpoint(HddcGeophysvyfaultpointEntity hddcGeophysvyfaultpoint);

    public HddcGeophysvyfaultpointEntity updateHddcGeophysvyfaultpoint(HddcGeophysvyfaultpointEntity hddcGeophysvyfaultpoint);

    public void deleteHddcGeophysvyfaultpoints(List<String> ids);

    List<DictItemEntity> getValidDictItemsByDictCode(String dictCode);

    void exportFile(HddcGeophysvyfaultpointQueryParams queryParams, HttpServletResponse response);

    String exportExcel(MultipartFile file, HttpServletResponse response);

    int dataQualityCheck();
}
